package com.yc.jpyy.studentbase.dao;

import java.util.List;
import java.util.Map;
import org.springframework.dao.DataAccessException;
import com.yc.jpyy.base.dao.BaseDao;

public interface StudentBaseDao extends BaseDao{


	int addStudentBaseDao(Map<String, Object> paramsMap) throws DataAccessException;

	int updateStudentBaseDao(Map<String, Object> paramsMap) throws DataAccessException;
    //查询
	List<Map<String, Object>> findStudentBaseDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	//查询总数
	int findStudentBaseCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findStudentBaseToDetilDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findStudentBaseToExamResultDao(Map<String, Object> paramsMap)throws DataAccessException;
	int findStudentBaseToExamResultCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	  
	List<Map<String, Object>> findExamResultDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findStudentAnswerTestDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findStudentBaseToProfessionDao(Map<String, Object> paramsMap)throws DataAccessException;
	int findStudentBaseToProfessionCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	//补考
	List<Map<String, Object>> findStudentBaseToProfessionExamDao(Map<String, Object> paramsMap)throws DataAccessException;
	int findStudentBaseToProfessionExamCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	int updateStudentBaseExamStatusDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	List<String> selectSubjectidsByProfessinid(Map<String, Object> paramsMap)throws DataAccessException;
	
	int checkIdcarIsHave(Map<String, Object> paramsMap)throws DataAccessException;
	
	int updateStudentBaseRotation(Map<String, Object> paramsMap) throws DataAccessException;
	
	int updateStuRotationByIdCard(Map<String, Object> paramsMap) throws DataAccessException;
	
	int checkIsHaveStudent(Map<String, Object> paramsMap) throws DataAccessException;
	
	int addStudentBaseRotation(Map<String, Object> paramsMap) throws DataAccessException;	

}
